package com.axter.libs.photo.choosephoto;

import com.axter.libs.base.adapter.CommonAdapter;
import com.axter.libs.base.adapter.IBaseViewHolder;
import com.axter.libs.photo.bean.MediaFolder;

/**
 * @author axter
 */
public class ChoosePhotoFolderAdapter extends CommonAdapter<MediaFolder> {
    /** 当前选择项 */
    protected int currentSelectedPosition = 0;

    public void showPosition(int position) {
        currentSelectedPosition = position;
    }

    @Override
    public IBaseViewHolder<MediaFolder> createViewHolder(int i) {
        return new ChoosePhotoFolderViewHolder(this);
    }
}
